using System;
using System.Collections.Generic;
using System.Text;

namespace Stormwind.Core.Data {
	/// <summary>
	/// Data Relation.
	/// </summary>
	public class DataRelation {
		private DataSource origin;
		private string originProperty;
		private DataSource destiny;
		private string destinyProperty;

		/// <summary>
		/// Origin data source.
		/// </summary>
		public DataSource Origin {
			get { return origin; }
			set { origin = value; }
		}

		/// <summary>
		/// Origin property.
		/// </summary>
		public string OriginProperty {
			get { return originProperty; }
			set { originProperty = value; }
		}

		/// <summary>
		/// Destiny data source.
		/// </summary>
		public DataSource Destiny {
			get { return destiny; }
			set { destiny = value; }
		}

		/// <summary>
		/// Destiny property.
		/// </summary>
		public string DestinyProperty {
			get { return destinyProperty; }
			set { destinyProperty = value; }
		}

	}
}
